<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>字段信息</title>
<%@ include file="/common/include.jsp"%>
<link href="/summer/template/admin/css/list.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	.list .pagerBar .updatePriceButton {
	width: 63px;
	height: 29px;
	line-height: 29px;
	float: left;
	margin-left: 6px;
	text-align: center;
	cursor: pointer;
	outline: none;
	border: none;
	background: url(/summer/template/admin/images/list_bg.gif) -90px -30px repeat-x;
	.list .pagerBar .updatePriceButton:hover {
	background: url(/summer/template/admin/images/list_bg.gif) -90px -60px repeat-x;
}
}
</style>
<script type="text/javascript" src="/summer/template/admin/js/list.js"></script>
<meta name="Author" content="Summer++ Team" />
<meta name="Copyright" content="SUMMER" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body class="list">
<div class="body">
<form id="listForm" action="field!update_all.action" method="post">
<div class="pagerBar"><input type="submit" class="" url="field!update_all.action" value="更新"  hidefocus="true" /></div>
<table class="listTable">
	<tr>
				<th align="center"><span  name="name">name</span></th>
				<th align="center"><span  name="cn_name">cn_name</span></th>
				<th align="center"><span  name="field_type">field_type</span></th>
				<th align="center"><span  name="sort">sort</span></th>
				<th align="center"><span  name="en_name">en_name</span></th>
				<th align="center"><span  name="var_size">var_size</span></th>
				<th align="center"><span  name="fk_name">fk_name</span></th>
				<th align="center"><span  name="is_pk">is_pk</span></th>
				<th align="center"><span  name="is_form">is_form</span></th>
				<th align="center"><span  name="is_fk">is_fk</span></th>
	</tr>

	<s:iterator value="dlist" id="field" status="u">
			<input type="hidden" name="fields[<s:property value="#u.index" />].id" value="<s:property value="id" />"  />
			<input type="hidden" name="fields[<s:property value="#u.index" />].table.id" value="<s:property value="table.id" />"  />
			<input type="hidden" name="fields[<s:property value="#u.index" />].fk_table" value="<s:property value="fk_table" />"  />
		<tr>
			<td><input type="text" style="width: 80px" readonly="readonly" name="fields[<s:property value="#u.index" />].name" value="<s:property value="name" />"  /></td>	
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].cn_name" value="<s:property value="cn_name" />"  /></td>
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].field_type" value="<s:property value="field_type" />"  /></td>
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].sort" value="<s:property value="sort" />"  /></td>
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].en_name" value="<s:property value="en_name" />"  /></td>
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].var_size" value="<s:property value="var_size" />"  /></td>
			<td><input type="text" style="width: 80px" name="fields[<s:property value="#u.index" />].fk_name" value="<s:property value="fk_name" />"  /></td>
			<td><input name="fields[<s:property value="#u.index" />].is_pk" type="checkbox" value="true" <s:if test="is_pk==true">checked</s:if> /></td>
			<td><input name="fields[<s:property value="#u.index" />].is_form" type="checkbox" value="true" <s:if test="is_form==true">checked</s:if> /></td>
			<td><input name="fields[<s:property value="#u.index" />].is_fk" type="checkbox" value="true" <s:if test="is_fk==true">checked</s:if> /></td>
	</tr>
	</s:iterator>

</table>
</form>
</div>
</body>
</html>

 
